package com.lhkj.ct.meta.modules.gauge.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;

/**
  * <p>
  *     描述：计分方式
  * </p>
  */
public enum ScoreType implements IEnum<Integer> {

    IGNORE(0,"不计"),
    ORIGINAL(1,"原始"),
    STANDARD(2,"标准");


    @EnumValue
    private int code;

    private String desc;

    ScoreType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }


    @Override
    public Integer getValue() {
        return code;
    }

    @Override
    public String toString() {
        return desc;
    }
}
